package com.dc.dao.special;

import com.dc.entity.ShipRepairEntity;
import com.dc.entity.special.WorkflowSpecial1OtherOilCarEntity;
import com.dc.entity.special.WorkflowSpecial1OtherOilShipEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface WorkflowSpecial1OtherOilShipDao extends JpaRepository<WorkflowSpecial1OtherOilShipEntity, Long>, JpaSpecificationExecutor<WorkflowSpecial1OtherOilShipEntity> {

    Page<WorkflowSpecial1OtherOilShipEntity> findByShipRepairEntity(ShipRepairEntity shipRepair, Pageable pageable);
}
